package com.yinet.yyqh.service.impl;

import com.yinet.generator.domain.YinetYctk;
import com.yinet.wsyy.mapper.YctkMapper;
import com.yinet.yyqh.service.PortService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 网上预约列表Service业务层处理
 *
 * @author yinet
 * @date 2019-09-02
 */
@Service
public class PortServiceImpl implements PortService {
    @Autowired
    private YctkMapper yctkMapper;

    public List<YinetYctk> selectCard(String card){
        return yctkMapper.selectCard(card);
    };
    //查找正在踏勘中的事件
    public List<YinetYctk> selectBebeingTk(String card){
        return yctkMapper.selectBebeingTk(card);
    };
    public YinetYctk selectCardQyName(String card){
        return yctkMapper.selectCardQyName(card);
    };
    //添加远程踏勘定位
    public int insertYctkSite(YinetYctk yctk){
        return yctkMapper.insertYctkSite(yctk);
    };
    //查询不通过理由
    public String selectNotPassReason(String Uuid){
        return yctkMapper.selectNotPassReason(Uuid);
    };
}
